package com.jxdinfo.hussar.cloud.module.example.dljc.basketnotice.model;

import com.jxdinfo.hussar.platform.core.base.entity.BaseEntity;
import org.apache.ibatis.type.Alias;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 吊篮异常通知实体类
 */
@Alias("dljc.basketnotice.BasketNotice")
@TableName("basket_notice")
public class BasketNotice implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    @TableId("ID")
    private String id;

    /**
     * 检测点id
     */
    @TableField("POINT_ID")
    private String pointId;

    /**
     * 检测点名称
     */
    @TableField("POINT_NAME")
    private String pointName;

    /**
     * 设备名称
     */
    @TableField("DEVICE_NAME")
    private String deviceName;

    /**
     * 报警数据id
     */
    @TableField("DATA_ALARM_ID")
    private String dataAlarmId;

    /**
     * 通知级别，1报警，2设备异常
     */
    @TableField("NOTICE_LEVEL")
    private String noticeLevel;

    /**
     * 通知类型，0设备异常，1倾斜角度 2 吊篮重量 3电流监测
     */
    @TableField("NOTICE_TYPE")
    private String noticeType;

    /**
     * 通知内容
     */
    @TableField("CONTENT")
    private String content;

    /**
     * 通知人员，人员id，多个id用逗号分割
     */
    @TableField("NOTICE_PERSON_ID")
    private String noticePersonId;

    /**
     * 通知人员，人员姓名，多个姓名用顿号分割
     */
    @TableField("NOTICE_PERSON")
    private String noticePerson;

    /**
     * 测量值
     */
    @TableField("MEASURE_VALUE")
    private String measureValue;

    /**
     * 报警值
     */
    @TableField("ERROR_VALUE")
    private String errorValue;

    /**
     * 通知状态，0待发送，1已发送
     */
    @TableField("NOTICE_STATUS")
    private String noticeStatus;

    /**
     * 发送时间
     */
    @TableField("SEND_TIME")
    private LocalDateTime sendTime;

    /**
     * 0未读，1已读，只要有1个人员已读，就是已读
     */
    @TableField("READ_STATUS")
    private String readStatus;

    /**
     * 项目编号
     */
    @TableField("TY_PROJECT_CODE")
    private String tyProjectCode;

    /**
     * 创建时间
     */
    @TableField("TY_CREATE_TIME")
    private LocalDateTime tyCreateTime;

    /**
     * 创建人id
     */
    @TableField("TY_CREATE_USERID")
    private String tyCreateUserid;

    /**
     * 创建人
     */
    @TableField("TY_CREATE_USER_NAME")
    private String tyCreateUserName;

    /**
     * 更新时间
     */
    @TableField("TY_LAST_UPDATE_TIME")
    private LocalDateTime tyLastUpdateTime;

    /**
     * 更新人id
     */
    @TableField("TY_LAST_UPDATE_USERID")
    private String tyLastUpdateUserid;

    /**
     * 更新人
     */
    @TableField("TY_LAST_UPDATE_USER_NAME")
    private String tyLastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPointId() {
        return pointId;
    }

    public void setPointId(String pointId) {
        this.pointId = pointId;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDataAlarmId() {
        return dataAlarmId;
    }

    public void setDataAlarmId(String dataAlarmId) {
        this.dataAlarmId = dataAlarmId;
    }

    public String getNoticeLevel() {
        return noticeLevel;
    }

    public void setNoticeLevel(String noticeLevel) {
        this.noticeLevel = noticeLevel;
    }

    public String getNoticeType() {
        return noticeType;
    }

    public void setNoticeType(String noticeType) {
        this.noticeType = noticeType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNoticePersonId() {
        return noticePersonId;
    }

    public void setNoticePersonId(String noticePersonId) {
        this.noticePersonId = noticePersonId;
    }

    public String getNoticePerson() {
        return noticePerson;
    }

    public void setNoticePerson(String noticePerson) {
        this.noticePerson = noticePerson;
    }

    public String getMeasureValue() {
        return measureValue;
    }

    public void setMeasureValue(String measureValue) {
        this.measureValue = measureValue;
    }

    public String getErrorValue() {
        return errorValue;
    }

    public void setErrorValue(String errorValue) {
        this.errorValue = errorValue;
    }

    public String getNoticeStatus() {
        return noticeStatus;
    }

    public void setNoticeStatus(String noticeStatus) {
        this.noticeStatus = noticeStatus;
    }

    public LocalDateTime getSendTime() {
        return sendTime;
    }

    public void setSendTime(LocalDateTime sendTime) {
        this.sendTime = sendTime;
    }

    public String getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(String readStatus) {
        this.readStatus = readStatus;
    }

    public String getTyProjectCode() {
        return tyProjectCode;
    }

    public void setTyProjectCode(String tyProjectCode) {
        this.tyProjectCode = tyProjectCode;
    }

    public LocalDateTime getTyCreateTime() {
        return tyCreateTime;
    }

    public void setTyCreateTime(LocalDateTime tyCreateTime) {
        this.tyCreateTime = tyCreateTime;
    }

    public String getTyCreateUserid() {
        return tyCreateUserid;
    }

    public void setTyCreateUserid(String tyCreateUserid) {
        this.tyCreateUserid = tyCreateUserid;
    }

    public String getTyCreateUserName() {
        return tyCreateUserName;
    }

    public void setTyCreateUserName(String tyCreateUserName) {
        this.tyCreateUserName = tyCreateUserName;
    }

    public LocalDateTime getTyLastUpdateTime() {
        return tyLastUpdateTime;
    }

    public void setTyLastUpdateTime(LocalDateTime tyLastUpdateTime) {
        this.tyLastUpdateTime = tyLastUpdateTime;
    }

    public String getTyLastUpdateUserid() {
        return tyLastUpdateUserid;
    }

    public void setTyLastUpdateUserid(String tyLastUpdateUserid) {
        this.tyLastUpdateUserid = tyLastUpdateUserid;
    }

    public String getTyLastUpdateUserName() {
        return tyLastUpdateUserName;
    }

    public void setTyLastUpdateUserName(String tyLastUpdateUserName) {
        this.tyLastUpdateUserName = tyLastUpdateUserName;
    }

    @Override
    public String toString() {
        return "basketNotice{" + "id=" + id + ", pointId=" + pointId + ", pointName=" + pointName + ", deviceName=" + deviceName + ", dataAlarmId=" + dataAlarmId + ", noticeLevel=" + noticeLevel + ", noticeType=" + noticeType + ", content=" + content + ", noticePersonId=" + noticePersonId + ", noticePerson=" + noticePerson + ", measureValue=" + measureValue + ", errorValue=" + errorValue + ", noticeStatus=" + noticeStatus + ", sendTime=" + sendTime + ", readStatus=" + readStatus + ", tyProjectCode=" + tyProjectCode + ", tyCreateTime=" + tyCreateTime + ", tyCreateUserid=" + tyCreateUserid + ", tyCreateUserName=" + tyCreateUserName + ", tyLastUpdateTime=" + tyLastUpdateTime + ", tyLastUpdateUserid=" + tyLastUpdateUserid + ", tyLastUpdateUserName=" + tyLastUpdateUserName + "}";
    }
}
